package servlets;

import java.io.IOException;
import java.util.List;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import bean.Member;
import bean.MemberAdm;

@SuppressWarnings("serial")
public class MemManageServlet extends HttpServlet{
	protected void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		MemberAdm ma = new MemberAdm();
		List<Member> m = ma.searchAllMem();
		
		req.setAttribute("mem", m);
		req.getRequestDispatcher("./manage/list.jsp").forward(req, resp);
	}
}
